package com.uam.web.common.vo;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

@Data
@Getter
public class TrackPoint implements Serializable {

	//任务ID
	@JSONField(name = "task_id")
	private int taskId = 0;

	//经纬度 0 经度 1 纬度
	private double[] position = null;

	//时间戳 秒级
	private long time = 0L;

	//速度
	private double speed = 0.00D;

	//海拔高度
	private double altitude = 0.00D;

	private String id;

	//通信信号强度
	@JSONField(name = "communication_signal")
	private int communicationSignal = -1;

	//导航信号强度
	@JSONField(name = "navigation_signal")
	private int navigationSignal = -1;

	//监控信号强度
	@JSONField(name = "supervisory_signal")
	private int supervisorySignal = -1;

	//安全距离
	@JSONField(name = "safe_distance")
	private double safeDistance = 0.00D;

	//定位精度
	@JSONField(name = "positioning_accuracy")
	private double positioningAccuracy = 0.00D;

	//连接基站数量
	@JSONField(name = "conn_num")
	private int connNum = 0;

	@JSONField(name = "communication_signal_num")
	private int communicationSignalNum = -1;

	@JSONField(name = "navigation_signal_num")
	private int navigationSignalNum = -1;

	@JSONField(name = "supervisory_signal_num")
	private int supervisorySignalNum = -1;

	@JSONField(name = "communication_signal_position")
	private JSONArray communicationSignalPosition ;

	@JSONField(name = "navigation_signal_position")
	private JSONArray navigationSignalPosition ;

	@JSONField(name = "supervisory_signal_position")
	private JSONArray supervisorySignalPosition ;


	@JSONField(name = "conflict_point")
	private boolean conflictPoint=false;


}
